#ifndef SERVER_H
#define SERVER_H
#include <string>
class TcpServer {
  public:
    TcpServer();
    TcpServer(const int port, const char* ip, const int backlog);
    int TcpInit();
    int TcpAceept(int listenfd);

  private:
    const int   port_;
    const char* ip_;
    const int   backlog_;
};
#endif